getDeviceMode

Retrieves the current device mode.

Return

the device mode as a DeviceMode object